possible fix for entities not always updating bug