Fix TempVar.update_persistent_hashh to inlcude scope, base_storage and aliasing attributes See merge request !169