restructure change index and home