change condition to string, update condition