pack and go not saving edited parts

Hello, I am trying to use pack and go function with C# API.

I did get it working but the problem that i am facing is, it is not saving edited dimensions.

The dimensions are edited using API and it is reflected well in solidworks but when I try saving the assemblies and parts using Pack and Go, it is using old dimensions.

Did I missed something?

SolidworksApi macros