adding sql changes