update viewport
update viewport