Update sql script to add source reference in nested, update submodule