undoing table changes