Modify database definition