add contents in index