Add hedumpdb function