Update feature added

checking installation made a function.
added update feature. now using latest version is easier (with saving configuration file)