Update collection + reference not working

Hi,
I have a form where i save a new collection item. this item belongs to a category. In the item collection the reference is working. So the categroy gets referenced to the item but in the category collection the item is not getting reference to the category. I thought that i could use the update collection + reference event for this.
Am i missing something?
Thanks in advance