added updated and deleted sobject functions