Added logging for update.