Update gate.ino