Update database credentials.