Update Gate.h