made table rows editable and fixed issues with local memory