added database modification