refactoring. moved print of results outside abb_update_registers()