* @description This function is called on auto save, it updates the events with the current values of css and parameters.
* For each css line, we check if line is connected to a parameter. If it is, we update the event with the current value of the parameter and verify heritage.
* If line has no parameter but have CSS LSD template we update the event with the current value of the template.
* If line has no parameter and no CSS LSD template we update the event with the current value of the css as type 'pure'.