fix the update_profile function. fix the update value. from kwargs => cur_profile