first draft of update and runcron