Update Registry.cpp