update setState