Removes unused variable from widget update()