Fix data updating.