Recent SQL update

working phonetype update