Add updateSObjects method