Fixed stupid errors in update script.