Multi file upload

This is a pull request into sha256-custom branch.
You could add here assert that exactly one document was updated (the result value of update).