Adding the changes final sql