Added update command (partially)

Fixed bin executable -> ‘./cli’ by adding #!/usr/bin/env node to it;
Fixed cmd extraction (shift x2 from program.argv);