State_Pattern update