Updates grammar