upadte actions to allow editing profiles from the controller