change before snippet