map updating working