improve migrations