update to new db connection