Execute sql method changed