fix install script & add update