changed update state when every worker is ready