Update mt code