updating time