update index and add home file