updated workflow and model