changed table model and table listener added