fix db entries for VM