def update_object(self, url, container, container_object, object_headers,
                      container_headers):
        """Update an existing object in a swift container.

        This method will place new headers on an existing object or container.

        :param url:
        :param container:
        :param container_object:
        """

        headers, container_uri = self._return_base_data(
            url=url,
            container=container,
            container_object=container_object,
            container_headers=container_headers,
            object_headers=object_headers,
        )

        return self._header_poster(
            uri=container_uri,
            headers=headers
        )