gateway: update some comments