update the emission and density into the class