add notifiy_last_state to get_service/get_service_by_id