updating mtb shared code