better logging for failed updates