update to run on data