Fix updating of the blob ref and the blob view ref