Modify sql statement and personal information