I'm also not sure why don't just pass in the existing entry and the new path, instead of the current entry's path and value of one its properties.