update code for editcommand
Merge branch 'master' of https://github.com/cs2103aug2014-w14-4j/main