modified the add, delete, complete, uncomplete function to use sendgenericrequest function