Changing someone's memories might also change their personality to some degree.
Sure, he's doing this because he doesn't know any other method to wake her up (to save his own life).
But it's still a bit cruel thing to do.
And given that she's a talented cultivator, she might discover the...