to parse grammar checking for update.py