Add historydata to installed packages