Typically if you need to change an object, you pass in the UID, do a Pick by UID to get the object back, and then change your instance variables right there. If you need to support different objects, put them in a Family with the instance variables you need, and do it that way.