update of simulation routines