update default and index