update to db connection