Updated

Added triggers for errors