updating dumpAST function