updated migration sql