change the structure of the details being saved