FIX: update functions are lost during cloning of a design doc
Merge pull request #139 from inpun/master

FIX: update functions are lost during cloning of a design doc

LGTM! Thanks @ananich