commit changes to pattern document before study check action