updating table buttons plugin