update sph and spr patches