update Database Class