Update registry.c