updated table loader