Fix: redirect to profiles#edit if parameters for #update are absent.