updating DB connection system