update optical flow with latest version from ancilla (needs more work)