on ready event changed