submodule: rewrite to take an object_id argument