improve model service with pending