update with time