update model and service