Update functionRegistry.cpp