updated migrations script