update migrations script