The retrieve operation retrieves the FortiGate configuration and stores it in the device database on FortiManager.
The policy package is not updated when you retrieve a FortiGate configuration.
If you make a change locally on the FortiGate, and then retrieve the FortiGate configuration, the change is stored in the database. However, if a policy also includes the same setting, the setting from the policy overwrites the setting on the FortiGate the next time that the policy package is installed.
For more information, see Viewing configuration revision history.