updates parser to parse booleans