updated database manager