fixed the problem forbiddenattributes error when updating user profile