updating two neurons