handle error if can't connect to db
update deps