update to models and views