Change the snippet code