updated sql file according to changes in code