Updated the id to work with local storage