fix: update accesses invalid contact dir