update index to show posts