update a blog & change the index