code: def update_pass(user_id, newpass):
          '''
          Update the password of a user.
          '''
  
          out_dic = {'success': False, 'code': '00'}
  
          entry = TabMember.update(user_pass=tools.md5(newpass)).where(TabMember.uid == user_id)
          entry.execute()
  
          out_dic['success'] = True
  
          return out_dif update_pass(user_id, newpass):
          '''
          Update the password of a user.
          '''
  
          out_dic = {'success': False, 'code': '00'}
  
          entry = TabMember.update(user_pass=tools.md5(newpass)).where(TabMember.uid == user_id)
          entry.execute()
  
          out_dic['success'] = True
  
          return out_dic
docs: Update the password of a user.