[refs #425] Updated the database script