update for models and routing