Fixes #21 bug in update_entity

update_entity now does nothing if there are no fields to update