update db credentials