Updated NOT gate