Updates Gray counter project