sophia: errors handling; submodule update