update index and homepage