uploading register sql