Change update list by id function and api_service