Changes to ref to most recent timestamp