Added an update() method in the GameServer class.