Fixing auto update elapsed=0 bug