Update routes-controller with scala endpoint changes