updating categories bug fixed