public function update(array $data)
    {
        $messageType = Basecamp::messageTypes($this->bucket->id)
                               ->update($this->id, $data);

        $this->setAttributes($messageType);

        return $messageType;
    }