The api don't get new added attributes at the order

Hi I created the free text field by a plugin and it appeared at there places but the API couldn’t retrieve  theme even after clear cache,

but after adding another free text field  from the backend  all the attribute begin appearing  

I thought there is a problem, and there is a code must be implemented at the plugin to update doctrine or another think ?!

because after uninstalling the plugin and uninstall the free text filed the uninstaller of the plugin for example (the order trying to find the removed field) and the problem goes when I add some free text field or remove anyone.

the backend do something to refresh the framework.