BinarySearchTreeSymbolTable put updating key function