fixed multi-update bug