update cap file with /libs instead of /target