move the upload submit to the done handler of the report update ajax
Merge branch 'hotfix' into dev