updates various parts of ast. adds comments and TODOS