default and index  update