update models as per new architecture
revamp ui using as in the backend