Tweaks to history to read from DB