update index and post