updating the migrations and models