Add support to update files via file upload

This commit adds support to update files via the upload file key.