wip
fix time update
add non trivial test with updates