replacing ProcessInstanceResult with InstanceResult, fixing processUpdate test, adding test to feed update

we need to update the doc and rename the variable to be in sync with the other waitTillInstanceReachState() method.