Fixes Path Issue with PreUpdate hook