add update hook and update info file #3244

#3244