update views in model, module now exposes model