add dev hostname and alter client library