fix entity to update loc