more mods to db stuff