delete and edit function
delete and edit function, really
change deps apac to apac-g without OS dependancy