update search_in_rotated_sorted_array more simple