update ocaml interface.