update condition