change status message on state change