updated index for save/load to local storage