updated table view adapter for adding/replacing/deleting section