update pinch script