change media to relationship