Update uploadFile call