updating the sql file