added database erb