Bug in update script.