update relation fix