Fix migration and update Version