Updating host_dmax