add a service add,delete,update,query functions