update database connection info