update pig script names
update ap name database