Widget class update