How to create and edit task types