Updates to spark