uploading entity relationship