Updating map method