change route and check for each method