error in update script