Private parking companies have pledged to update their code of conduct after legal action was launched against a driver for taking more than five minutes to pay for using a car park.