Update condition.php