modified db migration