changed http method for update call