Update the year in a string. API and CLI.