Return empty json ({}) when updating a resource