Upgrade can't be done if any files are modified, however you can overwrite changed files, please refer to this doc:
https://github.com/unaio/una/wiki/Upgrade