Edit database.