fixed bug where the table view does not show newly-added data