refs: remove API function update_refs()