bug fix

categories bug in update