Added simple mechanism for updating profile versions automatically.

Closes #141.