update upstream patches