update db2 + checkavailability