correctly clean map when changing story, update color while/after editing