server now stores previous state for entities to be used for lag compensation