finish database mass upload feature