Evolution of fibrils with special reference to flare activity