Updated getList() and setState