change put,get,delete funcs to 3 parameters