Update to viewport