added scanStorageForLatestEdits functionality