<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _update_service_current_state(service: ServiceState):
 """Update the current state of a service. Updates the current state of services after their target state has changed. Args: service (ServiceState):
 Service state object to update """

    LOG.debug("Setting current state from target state for %s", service.id)
    service.update_current_state(service.target_state)