In order to be able to show previous activities correctly even after an entity is updated, we have to make sure all necessary information is recorded within the activity. The most prominent one is title.
To manually test follow these steps:
1. Create the entity
2. Update the title/name of the entity
3. Move the entity to trash
Check the results in the activities portlet. You should see the original title in the message for the addition but you should see the new title in the update/move to trash messages.
Note: there are certain entities - mostly folders - that don't show add/update. To test them, you should move/restore once after creating the folder then again after changing the title. This way, you should see two sets of move/restore message with different titles.