fixed install script, added update script