Update post and index