category update is buggy but works