Updating database credentials