New codes of practice covering the way UK pub companies operate are "making a difference" it has been claimed - but the industry still faces the threat of government intervention.