update find-peak-element