update the core game