changed sql schema