updating view public/index