more refactoring. moved update() into abb_modbus.c