update hover detail code