code: def update(uid, post_data):
          '''
          Updat the link.
          '''
          entry = TabLink.update(
              name=post_data['name'],
              link=post_data['link'],
              order=post_data['order'],
              logo=post_data['logo'] if 'logo' in post_data else '',
          ).where(TabLink.uid == uid)
          try:
              entry.execute()
              return True
          except:
              return Falsf update(uid, post_data):
          '''
          Updat the link.
          '''
          entry = TabLink.update(
              name=post_data['name'],
              link=post_data['link'],
              order=post_data['order'],
              logo=post_data['logo'] if 'logo' in post_data else '',
          ).where(TabLink.uid == uid)
          try:
              entry.execute()
              return True
          except:
              return False
docs: Updat the link.