change the sql