update the db credentials