fixed invalid usage of namespace in register extensions
add missing update of register after processing extension files