update index pretify stuffs