updating stauts