saving changes after db migrate