merge history into bundle