add management for database