update gridmap