updates views