updates controller action