implement #array_remove_relation