unde does not update state