Added in check if the name has changed.