improved: we check free diskspace before updating