Hi @leanne-oleary
I think you need to use the acf/save_post hook instead. Also, please keep in mind that unzip_file() will only return true
on success, so this code:
update_attached_file( $value, $unzipfile );
Won’t be working. For further support regarding unzipping files in WordPress, please consult to WordPress Support forum instead.
I hope this helps.