update backup and migrate