updating changes to view