pyramid: update extraction script