made it possible to edit categories