change directory name and method name in controller