Update event to update gui using game state