upgrade scripts for sso plugins