fix update count issue on upload