am: refresh the index at start and --resolved