The changes needs to be placed inside the update