[Persistence] Update lastModified when deleting

When deleting components, update the last
modified field of parent components at
the time that the reference is removed.