fix update mistake