updates parser and types