update added database class