update def highlight(element)