update relation detail