update patch to current sources, apply in tree