updates to entity and camera