fixing issue with update call coming back failse