update stub method in controller