update time for add