Is it safe to update from 2.6.2 to the newest version?

Probably.

Just do the following before updating:

  1. Do a direct SQL backup of the database
  2. Export your site content
  3. Disable all Plugins
  4. Switch to the default Theme

Then update to the latest version. If anything goes wrong, just restore from your backups, and try an iterative update.