FIX tidy up the code
FIX Update method is here :-)

And tidy up the code with javascript beautifier
FIX finalize update command implementation (issue #3) with doc in readme