updates capfile