Updated db.php, added new triggers to releases table