update AST class template; regenerate