Edit Database class