--- minor_changes: - Added an type hint to the update_doc function