update viewport definitions