replace entities at views with view-models