setup update state #6