Currently when you update an entity, it didn't detach it previously so the old and new ends being the same in the postUpdate method.