Fix upload and update tasks