updating capfile