fix update db credentials