update printing script