Change depart node by gate