update time and link