Update reset game code.