update_field() with repeater fields issue [closed]

Solved!!!

$post_id = $pid; needs to be $post_id = "user_{$pid}";

Seems pretty obvious now as the id could be for anything.

Chris