update sparkConfiguration