update add method of cacheset