parse and update versioning variables