Fixed some bugs

~ fixed an issue where the table won't update the data