Update tern configuration.