Change tables to defs to pick up profile changes