update scrub functions