update to do everything with a list