Merge "Update the reference profile from .dm files only during installs"