updated spark variable