new migrations and updated many to many functionality