uploading to subdb