updates controller routes