updated getItem and setItem in storage