1. A computer implemented method comprises: storing a generic profile in a client device to configure the client device, the generic profile including profile payloads associated with profile predicates, the profile payloads specifying possible settings for the configuration of the client device, and the profile predicates specifying which of the possible settings are applicable for the configuration according to system states of the client device; dynamically determining a change in the operating states of the client device; identifying a portion of the profile payload applicable for the change of system states via the associated profile predicates; and applying the identified portion of profile payload to update the configuration of the client device for the change of system states.