updating time format