I had the same problem. If you are using a mobile plugin to facilitate viewing the website using your blackberry – the plug in has its own footer.php. Add the code you mentioned to the footer.php in the mobile plugin footer.php and then you cann invoke the update with the browser on your blackberry.