Fixes bug 915162 - updates stored procedures related to release type