find_peak_element: update