updated index when not logged in