Update some game logic code.