reverted changes to entity