Transaction support

yeah, I just looked through my commit history and it looks like I accidentally changed this in the diac-relationships middleware PR