Table editing working now
Corrected adding up totals