upload figure dir