Fixed db changes