Remove assert in ServiceApi.update_resource.