updated save data and parse localstorage