update to use local copy of bear.