callback to update generated data