Updated widget output fucntio