change hashdb element type