update and add dual likelihood

ok, assert is fine then