update to use list