update and add galleries_medias table and seeder for relation