Upgrade error and success handling.