Bug fixings

Fix bug of check commands
Fix bug of some spelling error
Change the logic of installation with download all packages then installing instead of download one install one, same changes to update