updating game model