update index to publish