db changes and testing