Update to when command