update dumpTable function
enable register for admin