update and upload files