Add function add,delete,active