mark_complete(): rewrite to take an object_id argument