Added update status handler