update grammar file