[Parser] Fixed variable update, need to fix addNewVariables for declaration variables > 2