edit the mysql request