#286 Added code for triggers and procedure in database update script.