updating map clears