implement create_related with object