The Women and the Wave Offering

When Jesus first encountered Mary Magdalene he told her "Do not hold on to me, for I have not yet ascended to the Father." Yet a few hours later when he encountered a group of women they were hanging all over him. What changed in those few hours what did Jesus do so that it became okay to touch him?