method replace x y = (self#remove ~all:true x); Hashtbl.add current x y