editing cap file