update widget preview