update table. closes #8