Adding a check for if the parent resource ID changes on an update.