time update & cleaning of data