got tables to be editable and saveable