For anyone stumbling across this very useful post with limited php knowledge:
For me I had to use:
add_filter('acf/update_value/type=relationship', 'bidirectional_acf_update_value', 10, 3);
Instead of relationships, not 100% sure but I believe they changed the naming somewhere down the line.