update functionalities of the parser