added game update method