updating list grammar