Uniaxial pressure dependence of the critical field anisotropy in UPt3