updated loop page