Updating grammar terms