Added UpdateState