MOB-2297 Don't update categories without changes

if this is for unit test purpose please add comment