client: fix update endianness