update viewthread