Fixed fatal bug occured when update is started