fix install & update script