update task input correct check