Update Abstract Syntax Tree