updated db mgmt scripts