fixing update always getting stuck on losetup