upload and prepare tab