updating the views