Update scanner gramatica