fix add and update relation (1 - 1)