def put(self, vpn_id: int) -> Vpn:
        """
        Updates the Vpn Resource with the
        name.
        """
        vpn = self._get_or_abort(vpn_id)
        self.update(vpn)
        session.commit()
        return vpn