Change route handler snippet