update solution of Search in Rotated Sorted Array