update to latest submodules and update code to new api.