apply patch to demo module