Set variables correctly on new-version notification