Update Gateway/Node examples to support MEGA