server side manage relation