backend changes to support creating relationships