add whenUpdated property in Entity