fix the sqlite query command
update