Updated documentation for database.c