Update Database.pm

Updating changes from google code svn.