update profile data json generation (level calculation mistake)