fix update and remove log