fixed energy update related to source_name