Inline submodule update fn to update/install and fetch only for the install fn