updated migration file to make it backwards compatible