class Devise::RegistrationsController

def after_update_path_for(resource)

this method in your own RegistrationsController.
The default url to be used after updating a resource. You need to overwrite
def after_update_path_for(resource)
  signed_in_root_path(resource)
end