update time／space