Added support for updating a gateway's credentials and redacting gateways

Only saw support for creating a gateway, not updating them or redacting them.  We needed that so I added it.  Let me know if you see any issues with it.

Thanks!  :)