EPB motor is an easy swap, 2 bolts and a multi-connector.You'll need VCDS or similar to unset and reset the caliper and do the adaptation, also remember to set the brake pad thickness when setting it all up on the VCDS. You need to have the battery charged fully and possibly connected to a charger or a second battery linked in as voltage is critical for the module
There's a thread
here which may help
VCDS youtube clip
here showing the procedure