udpated table controller model