Updating database class functionality.