added database ed-model