more sql db changes