java data clean and time update