Update condition do submit