fix update default category when no category made