Made changes to how local map updates after each refresh.