Change the structure of update