update relation data