maze game model updated