added database update