code: def modify_init(uid, data_dic):
          '''
          update when init.
          '''
          postinfo = MPost.get_by_uid(uid)
          entry = TabPost.update(
              time_update=tools.timestamp(),
              date=datetime.now(),
              kind=data_dic['kind'] if 'kind' in data_dic else postinfo.kind,
              keywords=data_dic['keywords'] if 'keywords' in data_dic else postinfo.keywords,
          ).where(TabPost.uid == uid)
          entry.execute()
          return uif modify_init(uid, data_dic):
          '''
          update when init.
          '''
          postinfo = MPost.get_by_uid(uid)
          entry = TabPost.update(
              time_update=tools.timestamp(),
              date=datetime.now(),
              kind=data_dic['kind'] if 'kind' in data_dic else postinfo.kind,
              keywords=data_dic['keywords'] if 'keywords' in data_dic else postinfo.keywords,
          ).where(TabPost.uid == uid)
          entry.execute()
          return uid
docs: update when init.