update syntax highlighting element