What does $order_id refer to? Is this the post ID of the order post?
I don’t know that much about the part of WC that you are trying to alter, but the only other thing that I can think of is that the field you are trying to update does not match up with the value in $order_id.
Either that or you are trying to update some type of sub field.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users