modified migration and model Object