Update API to fix #4
Merge branch 'master' of https://github.com/lanbuithe/mes