updated submodule and code to reflect new submodule features