Update 'when' statements.