added bidirectional addition for device and serviceordercontroller