groundhogg/{object_type}/pre_update
This hook is one of the core hooks of Groundhogg. This hook is executed before the update operation in the database. This hook accepts object type in it so it will run for that specific object only.
do_action( "groundhogg/{object_type}/pre_update", $this->get_id(), $data, $this );
This hook contains three arguments: ID of the record to update, data set for the update operation and the object of the base class.