modify capfile