storage.py update ad delete method