update migrate function pre-completion of general options