Pass element into the search option click function
update format