Updated viewport and cache