Update UserActivityHook.cs