ExtensionRegistry: update method

This is needed to add extensions from external modules such as inspire. There are some extensions needed before reading config files, whereas config files contain EXTENSIONS variable to, so there's a need to update.