optimize mark as read