update step is done (?)
code clean up part one with debug outputs
code clean up part one with debug outputs
first version of update step implemented