update conditional