fix long polling update bug