Add doUpdate and doGetRelatedRecords to PHP API