update relation