Fixed bug in error message for update actions