Fix pull timestamps, add last_pull_timestamp globally