change ready state