Refactoring of registration resource update().