updating page to use SObjectData