updating configuration for spark streaming