update highlight(element) def