updating a record should update the data from the server response