update condition with solved input