update time info function update