refactor the index code

mark all articles as read until the time of the last refresh