updating views public/index and private/home