update
bug fix for database manager