add loading when upload