fixed migrations, added array fields