modify model for table