upgrade script for HT40 -> HT20