Update for table cost