Updating references to widgets