Added updating spservices code