changes the sql settings