update space error define/add error print routine