Initialize models with ID from environment
Update models when env is set/unset