regenerated index
udpated main style for document wrapping