write error update