shell functions for map meta upgrade routine