Problem Refreshing EPDM Data Card With Add-in

I've got an add-in that sets a variable in the database using the SetVar method in IEdmEnumeratorVariable5. After I set the variable I want to refresh the data card to show the new value of that variable. I've tried IEdmCard5.Refresh, IEdmFolder5.Refresh, IEdmFile5.Refresh and IEdmVault5.RefreshFolder(folder). None of those work. Any suggestions?

SolidworksApi macros