Easytags is a plugin that automatically creates a global tags file and keeps it up-to-date as you edit files in Vim. The tags are also used to perform dynamic syntax highlighting of user-defined functions and types.
Update when file is written[edit source]
If you only want your tags file/s to be updated when the file is written use this:
autocmd BufWritePost * exe ":UpdateTags"