use setValue
Merge pull request #248 from dimagi/setval

use setValue