[K3 Note General] coolman7:
This is the original updater-script:

getprop("ro.product.model") == "Lenovo K50-T5" || abort("This package is for \"Lenovo K50-t5\" devices; this is a \"" + getprop("ro.product.model") + "\".");
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1446012553.10281410:user/release-keys" ||
getprop("ro.build.fingerprint") == "Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1453430585.01221044:user/release-keys" ||
abort("Package expects build fingerprint of Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1446012553.10281410:user/release-keys or Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1453430585.01221044:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
apply_patch_check("EMMC:boot:7763968:60ccc430120d7fa09529154b46f3b8d3785059df:7766016:c4da1d3ca4a59f775a5a3c5a4055cd7da1a762f2") || abort("\"EMMC:boot:7763968:60ccc430120d7fa09529154b46f3b8d3785059df:7766016:c4da1d3ca4a59f775a5a3c5a4055cd7da1a762f2\" has unexpected contents.");
(range_sha1("system", "2,0,1") == "7f43dcd4f6ad6a1f2c0ac0abe94165ec9534d1fd") || abort("system has been remounted R/W; reflash device to reenable OTA updates");
if range_sha1("system", "68,0,32770,32929,32931,33443,65535,65536,65538,66050,98303,98304,98306,98465,98467,98979,131071,131072,131074,131586,163839,163840,163842,164001,164003,164515,196607,196608,196610,197122,229375,229376,229378,229537,229539,230051,262143,262144,262146,262658,294557,294912,294914,295073,295075,295587,327679,327680,327682,328194,332766,360448,360450,393216,393218,425984,425986,458752,458754,491520,491522,524288,524290,557056,557058,589824,589826,622592,622594") == "7b292efb65a82d330b6be6abbe0f9ac33d1abcb9" then
ui_print("Verified system image...");
else
(range_sha1("system", "68,0,32770,32929,32931,33443,65535,65536,65538,66050,98303,98304,98306,98465,98467,98979,131071,131072,131074,131586,163839,163840,163842,164001,164003,164515,196607,196608,196610,197122,229375,229376,229378,229537,229539,230051,262143,262144,262146,262658,294911,294912,294914,295073,295075,295587,327679,327680,327682,328194,355938,360448,360450,393216,393218,425984,425986,458752,458754,491520,491522,524288,524290,557056,557058,589824,589826,622592,622594") == "a7ca2a1cd76c441ab190db271673e5b9a5d7671c") ||
abort("system partition has unexpected contents");
endif;

# ---- start making changes here ----

ui_print("Patching system image after verification.");
show_progress(0.900000, 0);
block_image_update("system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
ui_print("Patching boot image...");
show_progress(0.100000, 10);
apply_patch("EMMC:boot:7763968:60ccc430120d7fa09529154b46f3b8d3785059df:7766016:c4da1d3ca4a59f775a5a3c5a4055cd7da1a762f2",
"-", c4da1d3ca4a59f775a5a3c5a4055cd7da1a762f2, 7766016,
60ccc430120d7fa09529154b46f3b8d3785059df, package_extract_file("patch/boot.img.p"));
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data", "");
delete_recursive("/data/data/com.android.providers.media/databases");
delete_recursive("/data/data/com.android.providers.telephony/databases/telephony.db");
delete_recursive("/data/data/com.android.providers.telephony/databases/telephony.db-journal");
unmount("/data");
assert(package_extract_file("uboot.img", "/tmp/uboot.img"),
write_raw_image("/tmp/uboot.img", "uboot"),
delete("/tmp/uboot.img"));
set_progress(1.000000);

And I deleted:

getprop("ro.product.model") == "Lenovo K50-T5" || abort("This package is for \"Lenovo K50-t5\" devices; this is a \"" + getprop("ro.product.model") + "\".");
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1446012553.10281410:user/release-keys" ||
getprop("ro.build.fingerprint") == "Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1453430585.01221044:user/release-keys" ||
abort("Package expects build fingerprint of Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1446012553.10281410:user/release-keys or Lenovo/aio_otfp/aio_otfp:5.1/LMY47D/R1453430585.01221044:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
apply_patch_check("EMMC:boot:7763968:60ccc430120d7fa09529154b46f3b8d3785059df:7766016:c4da1d3ca4a59f775a5a3c5a4055cd7da1a762f2") || abort("\"EMMC:boot:7763968:60ccc430120d7fa09529154b46f3b8d3785059df:7766016:c4da1d3ca4a59f775a5a3c5a4055cd7da1a762f2\" has unexpected contents.");
(range_sha1("system", "2,0,1") == "7f43dcd4f6ad6a1f2c0ac0abe94165ec9534d1fd") || abort("system has been remounted R/W; reflash device to reenable OTA updates");
if range_sha1("system", "68,0,32770,32929,32931,33443,65535,65536,65538,66050,98303,98304,98306,98465,98467,98979,131071,131072,131074,131586,163839,163840,163842,164001,164003,164515,196607,196608,196610,197122,229375,229376,229378,229537,229539,230051,262143,262144,262146,262658,294557,294912,294914,295073,295075,295587,327679,327680,327682,328194,332766,360448,360450,393216,393218,425984,425986,458752,458754,491520,491522,524288,524290,557056,557058,589824,589826,622592,622594") == "7b292efb65a82d330b6be6abbe0f9ac33d1abcb9" then
ui_print("Verified system image...");
else
(range_sha1("system", "68,0,32770,32929,32931,33443,65535,65536,65538,66050,98303,98304,98306,98465,98467,98979,131071,131072,131074,131586,163839,163840,163842,164001,164003,164515,196607,196608,196610,197122,229375,229376,229378,229537,229539,230051,262143,262144,262146,262658,294911,294912,294914,295073,295075,295587,327679,327680,327682,328194,355938,360448,360450,393216,393218,425984,425986,458752,458754,491520,491522,524288,524290,557056,557058,589824,589826,622592,622594") == "a7ca2a1cd76c441ab190db271673e5b9a5d7671c") ||
abort("system partition has unexpected contents");
endif;

I tried to delete only line starts with "getprop("ro.product.model")", but this time it gave another similar error, than I deleted line "getprop("ro.build.fingerprint")" until apply_path_check line. It gave another error. Than I deleted all of them until "ui_print("Patching system image after verification.");"