update delete routine -minor bug. changed database and code so that the
check class retrieves the name of the package the class is in from the
db.