How do I update a document to a new version?

Select the file and click on the “Actions” button. Select “Upload new version” and it will replace the old file with the selected new file. Under the file details you can see which version of the file is currently uploaded.