update importmh interface and its javascript