fix api request update bug