Update table td for buttons