update models and views