adding sql patch