Animation, how to update skeleton

Hi all,

Beginner here… I am working with the animation retargeting system and it works fine but now I have a problem I cannot seem to solve. My character is walking but her legs should be more inward. My question is; how can I adjust the skeleton so the animation takes that new changes into account?

I manage to rotate the required bones but if I save the animation these changes are not visible. I am also not sure where I should change the bone structure.

Hope someone can help!;base64

Kind regards,