update mplek and mstamp