Refactor Registration#update controller to reduce complexity and keep method smaller