add index and assets