Update tern submodule to latest