Input product ribbons by code

Hi,

How can we update the product ribbons via code? So far I have been unsuccessful, and I have only seen examples of how to read them via code.

cheers

Have you figured this out ?