Minor modification to category create and update.