Updated update script and Fixed some typo