init for add gw for pallet