Fixes cancelling update using uploaded file