fixed updating bug
fixed updating