updated popup. change to local storage