RAZ-2453: Adjusted internal update script to not run db queries for all releases