Updated m2m transformation