save related objects in dateo resource