beforeLastChanges