added lines to upload tables