small fix in update script