Update SPController and run bundle
update controller
fix the routes file