fixing set behavior to use keypather
Merge pull request #12 from tjmehta/fix-set

fixing set behavior to use keypather