Update document.
Use channel instead of key.