protected function updateWorkflow($workflow)
	{
		$attachments = $this->getNamespacedPipesByOption('attach');

		$detachments = $this->getNamespacedPipesByOption('detach');

		$this->pipelines->update($workflow, $attachments, $detachments);
	}