update prompt, add MAGIC_EQUAL_SUBST