How can client can change a particular document's channel which is downloaded from remote using sync gateway pull replication

I have document stored locally in my application device I want to change the channel it has been associated with it, can anybody help me with this task?

You can use the channel() function in your sync function (channel() | Couchbase Docs) and update the document with a new list of channels