You should edit the cq_npc table which will be as pic
mapid = the map id which the npc is standing in
cellyx = The X in the map which the npc standing over
Cellyy= They y in the map which the npc standing over
Task = id action of the NPC which belong to cq_action table