Updated entity on error