Database class update