update profile with ruby and rails.