change student detail query