update pc and table at the same time