Change symbol in library with AS

Hi,

I have 10 symbols on my stage that all come from the same symbol in the library. Is there a way I can change the the symbol in the library with action script so all 10 of the symbols on the stage change at one?

Thanks,

Waffe