this is updation in selection and Quick sort