Issues w/ object setters and add sample

add merge & trigger custom sample
fix some object bugs