<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def __update_kind(uid, kind):
        '''
        update the kind of post.
        '''

        entry = TabPost.update(
            kind=kind,
        ).where(TabPost.uid == uid)
        entry.execute()
        return True