updated game update functionality