update and add migration