update to new db conncetion