diff --git a/misc-scripts/production_database/scripts/update_database_list.pl b/misc-scripts/production_database/scripts/update_database_list.pl
index d746833dab14bcf5ee47b332a93c89e7f2ccd5e8..03904099e15333e525ce181999c57c6fa132ebd9 100755
--- a/misc-scripts/production_database/scripts/update_database_list.pl
+++ b/misc-scripts/production_database/scripts/update_database_list.pl
@@ -247,7 +247,7 @@ else {
   my $sth = $dbh->prepare($statement);
   my $update_sth = $dbh->prepare(<<'SQL');
 update db set is_current =?, db_assembly=?, db_suffix =?, db_host =? 
-where species_id =? and db_type =? and db_release =?'
+where species_id =? and db_type =? and db_release =?
 SQL
 
   foreach my $database ( sort keys(%databases) ) {