A note on the evolution of magnetic helicity in active regions