modify viewport's content