Curious.. when you are using get_field and $post_id is that working as expected? Might need to change $post_id to get_the_id()??
At any rate…
Can you make these changes for testing, and let me know how it goes?
function rto_deactivation($id) {
update_field('field_59ba2159ddd3b', 'Deactive', $id);
}
// then call it like:
rto_deactivation( get_the_id() );