Fix PHP syntax missing semicolon, hardware detection and updateAddress