Upgrade
To upgrade ScriptRunner for Bitbucket, navigate to Version History. From there, you can select a version to Download.
Manage Apps in Bitbucket Instance
If you navigate to General Configuration > Manage Apps, you can update by selecting Update.