Add upstream specification to sample