added log error handler for method 'update'