renamed entityText to textEntity
added syncing for entity movement