<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def comment_sync(self, comment):
 """Update comments to host and notify subscribers"""

        self.host.update(key="comment", value=comment)
        self.host.emit("commented", comment=comment)