update the views etc.