renamed EnityManager::update to onUpdate