Ups sorry I misunderstand you, ignore my last comment. You have to mark the old version of the component as obsolete and create a new one with another component ID, instead of replace the code as you did.