update condition doc