updates time and zvalue as well now