applying the CLI-template can in some occasions give result success, even when not all commands are executed successfully.
so you need to resync the config as CPI "knows" it with the active config on the device
to prevent the config in CPI's database is out-of-sync with the actual config on the device
it performs the same function as when you
- go to inventory or configuration|
-> devices
- select a controller
- and do a "refresh config from device"
you need to do this refresh when the CLI commands are NOT applied using a CPI template
but manual outside CPI (serial console or ssh)