Finalize the CLI tool and the update functionality