uploading figure directory