Update condition.cpp