TOKYO - Japan revised its guidelines for the foreign trainee program on Friday, permitting trainees who experience harassment and abuse to change workplaces as it seeks to address the issue of trainees quitting without notice over poor working conditions.