upon save index controller redirects to the right place