modify the function for check new version and  so on.