url modify & sql query modify