add topic-changing support
Merge pull request #124 from nickknw/master

Add topic changing support