updated table component