code: def put(self, user_name: str) -> User:
          
          current = current_user()
          if current.name == user_name or current.is_admin:
              user = self._get_or_abort(user_name)
              self.update(user)
              session.commit()
              session.add(user)
              return user
          else:
              abort(403)
docs: Updates the User Resource with the
          name.