* move model settings to global storage * cleanup * only run migration if globalState key is undefined