fixing relationship update