Update error class in update commit