update set function
Merge branch 'develop'
Merge branch 'master' into gh-pages