Added relation name to the relation template