fix shared updated for rename action

the old path no longer exists after rename, update the parent folder instead.

cc @MTGap