update models, views and cookie