updated controller with correct method call

updated controller with correct method call