If we pass the patron object into Koha::Patron::Attribute::new we can store it for later use updating the borrowers updated_on field.
See https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35508#c22