update spark configuration