friendship update api accepts as last parameter the full instance array to be passed to the hook