updated categories in DB