update index with yaml