Update code style for MDTM implementation