fix catsource and updaterc